﻿using SuperSocket;

namespace MSocketCore.Model
{
    public class MConfig
    {
        /// <summary>
        /// 数据库连接字符传
        /// </summary>
        public string ConnectString { get; set; }

        /// <summary>
        /// hub中心地址
        /// </summary>
        public string SignalrUrl { get; set; }

        /// <summary>
        /// 服务名称
        /// </summary>
        public string HostName { get; set; }

        /// <summary>
        /// 服务描述
        /// </summary>
        public string HostDescription { get; set; }

        /// <summary>
        /// 程序名称
        /// </summary>
        public string HostExeName { get; set; }
        
        /// <summary>
        /// hub密钥
        /// </summary>
        public string Secret { get; set; }

        /// <summary>
        /// hub密钥
        /// </summary>
        public string BinPath { get; set; }


        public ServerOptions Server { get; set; }
    }
}
